package com.gxa.ehome.service;

import com.gxa.ehome.pojo.SysUser;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SysUserService {

    boolean login(String  jobNumber,String password);
    void deleteById(Integer id);
    void register(SysUser sysUser);

    List<SysUser> findAll();

    SysUser selectById(Integer id);

    void save(SysUser sysUser);

    boolean findByJobNumber(String jobNumber);

    void update(SysUser sysUser);
    List<SysUser>  findByPage(Integer limit,Integer page);



}
